package com.example.cloud.model.business.medical;

import com.example.cloud.model.common.CommonModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by ygl on 2017/5/21.
 */
@Entity(name = "system_check")
@Data
@EqualsAndHashCode(callSuper = false)
public class SystemCheck extends CommonModel {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(name = "patient_id")
    private Long patientId;

    @Column(name = "complaint_id")
    private Long complaintId;

    @Column(name = "result",length = 2000)
    private String result;
}
